package com.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.common.domain.dto.PageDTO;
import com.graduation.pojo.po.Case;
import com.graduation.pojo.query.CaseQuery;
import com.graduation.pojo.vo.CaseVO;

import java.util.List;

public interface CaseService extends IService<Case> {

    PageDTO<CaseVO> pageCases(CaseQuery query);

    Case getCaseById(Long id);

    void saveCase(Case caseEntity);

    void updateCase(Case caseEntity);

    void deleteCase(Long id);

    List<CaseVO> listHotCase();

}
